#include<stdio.h>
#include<sys/stat.h>
#include<sys/types.h>
#include<fcntl.h>
#include<stdlib.h>

int main(int argc,char **argv)
{
    //setbuf(stdout,NULL);
    //setvbuf(stdout,NULL,_IONBF,0);
    char *buff=(char *)malloc(sizeof(char)*2000);
    setvbuf(stdout,buff,_IOFBF,sizeof(buff));
    printf("hello world");
    while (1)
    {
        /* code */
    }
    
    return 0;
}